﻿#include"List.h"
void Test()
{
	ListNode* plist = ListInit();
	ListPushBack(plist, 3);
	ListPushBack(plist, 2);
	ListPushBack(plist, 1);
	ListPushFront(plist, 1);
	ListPushFront(plist, 2);
	ListPushFront(plist, 3);
	ListPopBack(plist);
	ListPopFront(plist);
	//ListNode* pos=ListFind(plist, 4);
	//ListInsert(pos, 9);
	//ListEarse(pos);
	//int judge = ListEmtpy(plist);
	ListPrint(plist);
	//ListDestroy(plist);
	//plist = NULL;
	int size=ListSize(plist);
	printf("\n%d", size);
	//printf("%d\n", judge);
	//ListPushFront(plist, 1);
}
int main() {
	Test();
	return 0;
}